import request from 'umi-request';

// 查询
export const getUserList = (params: object) => {
  return request.get('/api/getUserList', { params });
};

// 用户数据删除
export const userDelete = (params: object) => {
  return request.delete('/api/user/userDelete', { params });
};

// 用户数据添加
export const userListAdd = (params: object) => {
  return request.post('/api/user/userListAdd', { params });
};
// 用户数据修改
export const userListUpdate = (params: object) => {
  return request.post('/api/user/userListUpdate', { params });
};
